﻿@section header{
    <title>添加打印机</title>
<link type="text/css" rel="stylesheet" href="/admin_store/css/site.css" />
<script type="text/javascript" src="/admin_store/scripts/jquery.js"></script>
}
@section body{
    <h1 class="rightH1">
        微信小程序 &gt; 订单管理 &gt; 打印机设置 &gt; <span class="rightH1-cur">设置引用的js路径</span> 
        <div class="right">
            <a href="@Html.Raw(ViewData["referer"].ToString())" class="menuBT">
                <img src="/admin_store/images/goback.jpg" />返回列表
            </a>
            <div class="clear">
            </div>
        </div>
        <div class="clear">
        </div>
    </h1>
    <ul class="addTag">
        <li class="hot"><a href="javascript:;">基本信息</a></li>
        <div class="clear">
        </div>
    </ul>
    @using (Html.BeginForm("printipsetting2","order"))
    {
        <div class="addTable">
            <table width="100%">
                <tr>
                    <td width="94px" align="right">
                        打印机IP：
                    </td>
                    <td>
                        <input type="text" name="JSIP" value='@ViewData["JSIP"]' />
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td>
                        <font color="red">请注意，您必须确定该JS引用是否有效，否则后面的打印页面将无效</font>
                    </td>
                </tr>
            <tr>
                <td align="right">
                    &nbsp;
                </td>
                <td>
                    <a href="" class="addBt submit" id="sumbitBut">
                        <img src="/admin_store/images/submit.jpg" />
                    </a>
                    <script type="text/javascript">
                        $(function () {
                            $("#sumbitBut").click(function () {
                                $("form:first").submit();
                                return false;
                            })
                        });
                    </script>
                </td>
            </tr>
            <tr>
                <td align="right">
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
        </table>
    </div>

    }
}
